<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<script type="text/javascript" src="<%=basePath%>js/jquery-1.9.0.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/xadmin.js"></script>
<link rel="stylesheet" href="<%=basePath%>css/font.css">
<link rel="stylesheet" href="<%=basePath%>css/xadmin.css">
<script src="<%=basePath%>lib/layui/layui.js" charset="utf-8"></script>
<script src="<%=basePath%>js/pc/admin/updateAuth.js" charset="utf-8"></script>
<link rel="stylesheet" href="<%=basePath%>lib/layui/css/layui.css"
	media="all">
<link rel="stylesheet"
	href="<%=basePath%>lib/layui/css/modules/layer/default/layer.css"
	media="all">
<style type="text/css">
.layui-unselect{
	width: 30%;
}
#menusub span {
	padding-right: 5px;
	width: 85%;
}

#sub span {
	padding-right: 5px;
	width: 85%;
}
</style>
</head>
<body class="layui-anim layui-anim-up">
	<div class="x-nav">
		<span class="layui-breadcrumb"> <a>查看权限</a> <a> <cite>导航元素</cite></a>
		</span> <a class="layui-btn layui-btn-small"
			style="line-height: 1.6em; margin-top: 3px; float: right"
			onclick="location.reload()" title="刷新"> <i
			class="layui-icon layui-icon-refresh" style="line-height: 35px;"></i></a>
	</div>

	<div class="layui-container layui-form">
		<div class="layui-row">

			<div class="layui-col-md3">已拥有主权限：</div>

			<div class="layui-col-md9">
				<div class="layui-input-block" id="menusub">
					
				</div>
			</div>
		</div>
		<div class="layui-row">

			<div class="layui-col-md3">已拥有子权限：</div>

			<div class="layui-col-md9">
				<div class="layui-input-block" id="sub">
					
				</div>
			</div>
		</div>
		
		<div class="layui-row" style="text-align: right;">
			<label for="L_repass" class="layui-form-label"> </label>
			<button class="layui-btn" onclick="modifyAuth()" lay-filter="add" lay-submit="">修改权限</button>
		</div>
	</div>
	<input id="pId" type="hidden" value="<%=request.getAttribute("id")%>">
</body>
</html>